package com.kangaroo.myhome.mapper;

import com.kangaroo.myhome.model.CommonSearch;
import com.kangaroo.myhome.model.TSysFile;
import com.kangaroo.myhome.model.TSysFileExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSysFileMapper {

    List<TSysFile> selectByPagination(CommonSearch search);

    long selectByPaginationCount(CommonSearch search);

    long countByExample(TSysFileExample example);

    int deleteByExample(TSysFileExample example);

    int deleteByPrimaryKey(String id);

    int insert(TSysFile record);

    int insertSelective(TSysFile record);

    List<TSysFile> selectByExample(TSysFileExample example);

    TSysFile selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TSysFile record, @Param("example") TSysFileExample example);

    int updateByExample(@Param("record") TSysFile record, @Param("example") TSysFileExample example);

    int updateByPrimaryKeySelective(TSysFile record);

    int updateByPrimaryKey(TSysFile record);
}